// components/GBTPicker/GBTPicker.js
Component({
   options: {
      multipleSlots: true // 在组件定义时的选项中启用多slot支持
   },
   /**
    * 组件的属性列表
    */
   properties: {
      className: {
         type: String,
         value: '',
      },
      value: {
         type: String,
         value: '',
      },
      placeholder: {
         type: String,
         value: '',
      },
      onSelect: {
         type: Function,
         value: function onSelect() {},
      },
      labelCls: {
         type: String,
         value: '',
      },
      pickerCls: {
         type: String,
         value: '',
      },
   },

   /**
    * 组件的初始数据
    */
   data: {

   },

   /**
    * 组件的方法列表
    */
   methods: {
      onPickerTap: function onPickerTap(e) {
         this.triggerEvent("pickertap", {
            e
         }, {});
      }
   }
})